package mapper.user;

import org.apache.ibatis.annotations.Param;
import pojo.Address;

import java.util.List;

public interface AddressMapper {
    //添加
    public int insertAddress(Address address);

    //修改
    public int updateAddress(Address address);


    //删除
    public int deleteAddress(int id);

    //分页查询
    public List<Address> selectPageList(@Param("contact") String contact,@Param("addressDesc") String addressDesc,@Param("tel") String tel,@Param("pageBegin")Integer pageBegin,
                                        @Param("pageSize") Integer pageSize);
}
